Text Run Info
data class TextRunInfo(val from: Int, val to: Int, val text: String, val color: Color, val fontWeight: FontWeight, val fontStyle: FontStyle, val fontSize: Float, val textCase: TextCase, val typeface: Typeface, val resolvedFontFileUri: String, val textDecoration: TextDecorationConfig, val scriptStyle: ScriptStyle = ScriptStyle.NORMAL, val kerning: Float)
Represents a single contiguous text run with uniform formatting.
Each run covers a range of grapheme clusters [from, to) within the text block.
Constructors
Link copied to clipboard
constructor(from: Int, to: Int, text: String, color: Color, fontWeight: FontWeight, fontStyle: FontStyle, fontSize: Float, textCase: TextCase, typeface: Typeface, resolvedFontFileUri: String, textDecoration: TextDecorationConfig, scriptStyle: ScriptStyle = ScriptStyle.NORMAL, kerning: Float)